package com.yfp.common.core.constant;

public class EmqxConstants {

    /**
     * 主题推送apk
     */
    public static final String TOPIC_PUSH_APK = "0";
    /**
     * 主题推送广告
     */
    public static final String TOPIC_PUSH_ADS = "1";
    /**
     * 主题推送日志
     */
    public static final String TOPIC_PUSH_LOG = "2";
    /**
     * 主题推送重新启动
     */
    public static final String TOPIC_PUSH_RESTART = "4";
    /**
     * 主题推送货道库存
     */
    public static final String TOPIC_PUSH_ROAD_INVENTORY = "5";


    /**
     * 主题推送广告投放或者下架
     */
    public static final String TOPIC_PUSH_AD_PLAYORPAUSE = "6";


    /**
     * 通知温度上报频率
     */
    public static final String FREQUENCY_REPORT = "7";


    /**
     * 主题推送前缀
     */
    public static final String TOPIC_PUSH_PREFIX = "yfp/machine/";
    /**
     * 主题推送消息类型
     */
    public static final String TOPIC_PUSH_MSG_TYPE = "msgType";

    /**
     * 主题推送记录编号
     */
    public static final String TOPIC_PUSH_RECORD_NO = "pushRecordNo";
    /**
     * 主题推送时间
     */
    public static final String TOPIC_PUSH_TIME = "pushTime";

    /**
     * 温度频率
     */
    public static final String TOPIC_PUSH_REPORT_FREQUENCY = "tempFrequency";

    /**
     * 日志类型
     *
     * 
     * @date 2023/12/21
     */
    public static class MachineLogType {
        /**
         * 主题推送结束时间
         */
        public static final String TOPIC_PUSH_END_TIME = "endTime";
        /**
         * 主题推送日志类型
         */
        public static final String TOPIC_PUSH_LOG_TYPE = "logType";
        /**
         * 主题推送开始时间
         */
        public static final String TOPIC_PUSH_START_TIME = "startTime";

    }


    /**
     * 广告类型
     *
     * 
     * @date 2023/12/21
     */
    public static class MachineAdType {
        /**
         * 主题推送结束时间
         */
        public static final String TOPIC_PUSH_END_TIME = "endTime";
        /**
         * 主题推送日志类型
         */
        public static final String TOPIC_PUSH_LOG_TYPE = "logType";
        /**
         * 主题推送开始时间
         */
        public static final String TOPIC_PUSH_START_TIME = "startTime";
        /**
         * 主题推送广告列表
         */
        public static final String TOPIC_PUSH_AD_LIST = "adList";
        /**
         * 主题推送广告播放
         */
        public static final String TOPIC_PUSH_AD_PLAY = "1";
        /**
         * 主题推送广告暂停
         */
        public static final String TOPIC_PUSH_AD_SUSPEND = "0";

        /**
         * 主题推送消息播放状态
         */
        public static final String TOPIC_PUSH_MSG_PLAY_STATUS = "play";
        public static final String TOPIC_PUSH_AD_ID = "adId";

        /**
         * 主题推送广告--广告位置
         */
        public static final String TOPIC_PUSH_AD_POSITION = "position";





    }


    /**
     * apk类型
     *
     * 
     * @date 2023/12/21
     */
    public static class MachineApkType {
        /**
         * topic push apk url
         */
        public static final String TOPIC_PUSH_APK_URL = "apkUrl";
        /**
         * 主题推送版本代码
         */
        public static final String TOPIC_PUSH_VERSION_CODE = "versionCode";
        /**
         * 主题推送版本名称
         */
        public static final String TOPIC_PUSH_VERSION_NAME = "versionName";
    }

}
